{template 'public/header'}

{template 'public/comhead'}

<link rel="stylesheet" type="text/css" href="../addons/zh_jdgjb/template/public/ygcss.css">

<style type="text/css">

  /*#frame-5{display: block;visibility: visible;}*/

  .yg_inp>input{margin-bottom: 10px;}

  .storeimg{

  	max-width: 300px;

  	max-height: 300px;

  }

  .bigzheng,.bigfan{min-width: 500px;min-height: 500px;max-width: 600px;max-height: 600px;}

  .xuanbtn1,.xuanbtn2,.xuanbtn3,.xuanbtn4{

    position: absolute;

    bottom: 10px;

    right: 5%;



  }

</style>

<ul class="nav nav-tabs">    

  <span class="ygxian"></span>

  <div class="ygdangq">当前位置:</div>

  <li><a href="{php echo $this->createWebUrl('csdlcheck')}">代理审核</a></li>

  <li class="active"><a href="javascript:void(0);">代理详情</a></li>

</ul>

<div class="main">

  <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="invitative">

    <div class="panel panel-default ygdefault">

      <div class="panel-heading wyheader">

        代理审核&nbsp;>&nbsp;代理详情

      </div>

      <div class="panel-body">
        <div class="form-group">

          <label class="col-xs-12 col-sm-3 col-md-2 control-label">公司名称</label>

          <div class="col-sm-9">

            <input type="text" name="name" value="{$item['mangername']}" id="web_name" class="form-control" />

          </div>

        </div>
        <div class="form-group">

          <label class="col-xs-12 col-sm-3 col-md-2 control-label">联系人姓名</label>

          <div class="col-sm-9">

            <input type="text" name="link_name" value="{$item['username']}" id="web_name" class="form-control" />

          </div>

        </div>

        <div class="form-group">

          <label class="col-xs-12 col-sm-3 col-md-2 control-label">联系人电话</label>

          <div class="col-sm-9">

            <input type="text" name="link_tel" value="{$item['mobile']}" id="web_name" class="form-control" />

          </div>

        </div>
          <div class="form-group">

          <label class="col-xs-12 col-sm-3 col-md-2 control-label">代理城市</label>

          <div class="col-sm-9">

            <input type="text" name="address" value="{$item['city_name']}" id="web_name" class="form-control" />

          </div>

        </div>
         

    <div class="form-group">
      <label class="col-xs-12 col-sm-3 col-md-2 control-label">状态</label>
      <div class="col-sm-9">
        <select name="state" class="col-md-4">
          {if $item['state']==1}
          <option value="1" selected>待审核</option>
          <option value="2" >已通过</option>
          <option value="3" >已拒绝</option>
          {elseif $item['state']==2}
          <option value="1" >待审核</option>
          <option value="2" selected>已通过</option> 
          <option value="3" >已拒绝</option>
          {elseif $item['state']==3}
          <option value="1" >待审核</option>
          <option value="2">已通过</option>
          <option value="3"  selected>已拒绝</option>
          {else}
          <option value="1" >待审核</option>
          <option value="2">已通过</option>
          <option value="3">已拒绝</option>
          
          {/if}
        </select>
      </div>
    </div>

</div>

</div>

<div class="form-group">
  <a class="btn col-sm-2" style="color: white;background-color: #44ABF7;" href="{php echo $this->createWebUrl('csdlcheck');}">返回列表</a>
  <div class="col-sm-1"></div>
  <!--   {if $item['state']==1}
  <a class="btn col-sm-2" style="color: white;background-color: #44ABF7;" href="{php echo $this->createWebUrl('rzcheck',array('id'=>$item['id'],'op'=>'adopt'));}">通过</a>
  <div class="col-sm-1"></div>
  <a class="btn col-sm-2" style="color: white;background-color: #44ABF7;" href="{php echo $this->createWebUrl('rzcheck', array('id' => $item['id'],'op'=>'reject'));}">拒绝</a>
   {/if} -->
   <input class="btn col-lg-3 col-lg-push-1" style="color: white;background-color: #44ABF7;" type="submit" name="submit" value="修改" /> 
  <input type="hidden" name="token" value="{$_W['token']}" />
  <input type="hidden" name="id" value="{$item['id']}" />
</div>

</form>

</div>

<!-- {template 'common/footer'} -->

<script type="text/javascript">

  $(function(){

    $("#frame-0").show();

    $("#yframe-0").addClass("wyactive");



    var zhuan1=0;

    $(".xuanbtn1").click(function(){

      zhuan1 = zhuan1+90;

      $(".zhuan1").css({"transform":"rotate("+zhuan1+"deg)"});

    })



    var zhuan2=0;

    $(".xuanbtn2").click(function(){

      zhuan2 = zhuan2+90;

      $(".zhuan2").css({"transform":"rotate("+zhuan2+"deg)"});

    })



    var zhuan3=0;

    $(".xuanbtn3").click(function(){

      zhuan3 = zhuan3+90;

      $(".zhuan3").css({"transform":"rotate("+zhuan3+"deg)"});

    })



    var zhuan4=0;

    $(".xuanbtn4").click(function(){

      zhuan4 = zhuan4+90;

      $(".zhuan4").css({"transform":"rotate("+zhuan4+"deg)"});

    })

  })

</script>